package com.qf.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDate;
import java.util.Date;

/**
 * --- 年少有为 ---
 *
 * @author ChenZhuo
 * @date 2025/8/12
 * @desc
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@ToString
public class Stu {
    private Integer id;
    private String sname;
    private Integer age;
    private Character sex;
    private Double score;
    private @DateTimeFormat(pattern = "yyyy-MM-dd") LocalDate birthday;
    private Integer cid;
}
